ExamPlay Dark Logo
Logga in

Computer Science for IGCSE & O level - Software (Section 9 - No. 24)

Which of the following statements is true about the difference between a compiler and an interpreter?
Both compilers and interpreters translate the entire program at once.
A compiler translates code line by line, while an interpreter translates the entire program at once.
A compiler is used for debugging code, while an interpreter is used for code execution.
A compiler translates the entire program at once, while an interpreter translates and executes code line by line.

Förklaring

A compiler translates the entire program into machine code before execution, while an interpreter translates and executes it line by line.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc